< previous page page_376 next page >

Page 376
Adding the Internet Controls..
Among the many tools, controls, and features that Visual Basic comes with, the most intriguing are the two Internet controls: Browser and File Transfer. These controls enable you to give your application's users the ability to access the Internet from within the application.
Adding either control to your application from scratch isn't an easy proposition; however, for the Browser control, you can use the Application Wizard to include it in your application. The File Transfer control, on the other hand, requires you to understand the concepts of transferring data over the Internet and to code the process yourself.
Note
To use either control, users of your application must already have an Internet service provider (ISP). They also must have Internet Explorer 3.0, or later, installed on their PC because the controls use IE to interact with the Internet. Of course, you need to have the same tools available on your PC to develop an application that includes a Web browser or file-transfer function.

Caution
To test or use the Internet tools, you need to be either connected to the Internet or a local network with an intranet, or have Personal Web Server running on your PC while you're developing those functions.

In the following section, you'll add an Internet browser to the Address Book application that will use the Microsoft Web site as its default home page. You will also see how to let users download files from the Web. The browser itself supports file downloads specified in an HTML page, but the File Transfer control lets you code a direct download of a file without having the browser open.
Tip
The best way to develop an application that uses the Internet tools is by using the Windows 95 Personal Web Server that runs on your PC and is available as a free download from the Microsoft Products Web site
(http://www.microsoft.com/products).

 
< previous page page_376 next page >

If you like this book, buy it!